
    $(function() {
            $("a[rel]").overlay({
                    mask: 'darkgray',
                    effect: 'apple',
                    top: 10,
                    
                    onBeforeLoad: function() {

                            var wrap = this.getOverlay().find(".contentWrap");
                            wrap.load(this.getTrigger().attr("href"));

                    }
            });
    });

        //$(document).ready(function() 
        //    { 
        //        alert("cdcdcd");
        //        $("#myTable").tablesorter( {sortList: [[0,0], [1,0]]} ); 
        //    } 
        //); 
    $(function() {

                    $("#myTable")
                            //.tablesorter( {sortList: [[1,0], [2,0], [3,0]]} ) 
                            .tablesorter({widthFixed: true, widgets: ['zebra']})
                            .tablesorterPager({container: $("#pager")});
            });
 
    $(function() {

                    $("#myTableStatusAlarm")
                            .tablesorter( {sortList: [[1,1]]} ) 
                            .tablesorter({widthFixed: true, widgets: ['zebra']})
                            
            });